Notebook: Don't notify 2x from set_tab_label_text
authorDaniel Boles <dboles.src@gmail.com>
Fri, 12 Oct 2018 22:40:16 +0000 (23:40 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Fri, 12 Oct 2018 22:40:16 +0000 (23:40 +0100)
It calls set_tab_label(), which already does that.

gtk/gtknotebook.c

index 6ea21028b1fa30bc909a1f197169a50d167ed80f..0649844562b2ae67e42fbd749a49eeace2949731 100644 (file)
@@ -6540,7 +6540,6 @@ gtk_notebook_set_tab_label_text (GtkNotebook *notebook,
   if (tab_text)
     tab_label = gtk_label_new (tab_text);
   gtk_notebook_set_tab_label (notebook, child, tab_label);
-  child_notify (notebook, child, "tab-label");
 }
 
 /**